Goto

Collaborating Authors

 net forum


Sparse Attention with Entropy-Triggered KV Refresh

arXiv.org Artificial Intelligence

Sparse attention reduces the per-step decoding cost of language models trained with full attention. However, it can lengthen generations and lower accuracy, offsetting the per-step savings with additional tokens. We find that sparse-attention errors are most detrimental at steps where the full-attention next-token entropy is high: applying sparse attention only at these steps degrades accuracy far more than applying it at an equal number of random steps. We further find that at these high-entropy steps, most of the degradation stems from errors accumulated into the key-value (KV) cache during earlier sparse decoding, so even attending to the entire cache at such steps results in performance degradation. Motivated by these findings, we propose SparseRepairer, a method which uses sparse next-token entropy to trigger a KV refresh: a full-attention pass that recomputes and replaces the cached KV states to yield the dense next-token distribution for sampling. Across three reasoning models and four benchmarks, SparseRepairer improves accuracy by up to 18.0 percentage points and reduces generation length by up to 49.1% over Quest, while achieving better accuracy-efficiency trade-offs than periodic refresh with both Quest and TidalDecode. With an optimized GPU implementation, SparseRepairer matches dense decoding accuracy with 23.6% lower wall-clock time and runs 7.9% faster than periodic refresh on 87 long-generation MATH-500 problems.


SkillVec: Extracting Composable Skills via Weight-Space Editing

arXiv.org Artificial Intelligence

General-purpose LLM agents are increasingly expected to perform complex tasks that necessitate combining multiple specialized capabilities, which may be learned independently. While parameter-efficient adaptation methods such as LoRA offer a practical way to internalize individual skills as lightweight parameter updates, these adapters are not necessarily composable---directly combining them often suffers from negative interference. We introduce SkillVec, a method for extracting skill representations from independently trained LoRA adapters that naturally support composition. Our approach exploits the asymmetric structure of LoRA weight updates to remove sensitivity to common input directions and, when multiple training runs are available, preserve output directions that are consistently learned across these runs. Each skill vector is extracted independently and can be combined with others through simple addition without further training or coordination. We evaluate the effectiveness of SkillVec by composing a set of six diverse skills across six open-weight language models. SkillVec attains an average score of 70.5%, outperforming the strongest evaluated model merging baseline by 9.2 points while retaining approximately 96% of the base models' original performance on general knowledge and reasoning benchmarks. Furthermore, we demonstrate that independently trained telecom-support and multilingual skills can cooperate within a joint task (i.e., operating telecom tools and communicating in a specific language), achieving higher joint success than both merging baselines and joint multitask training across the base models we evaluate on.


MESH: Co-Evolving Beliefs and Solutions for Recursively Self-Improving Discovery

arXiv.org Artificial Intelligence

Language-model agents increasingly automate discovery by iteratively proposing, implementing, and evaluating candidate solutions. Each execution consumes part of a limited budget and reveals information about the task, and using this information to choose subsequent executions enables recursive self-improvement. An evaluation outcome not only measures the quality of a candidate but also provides evidence about the hypothesis that motivated it. However, existing tree-search agents rely primarily on scores and overlook how outcomes support or challenge the underlying hypotheses. To address this limitation, we propose MESH, a framework in which candidate solutions co-evolve with the explicit beliefs that direct them. At the high level, an agent maintains a global belief state of working hypotheses, each specifying a target candidate, a mechanism grounded in prior evidence, an intervention, and an expected outcome. At the low level, a search process develops candidate solutions. Beliefs compete for the execution budget according to the improvements they have produced. Each selected belief directs a bounded sequence of executions that iteratively apply and refine its intervention, allowing a promising idea to develop beyond a weak initial implementation. The high-level agent periodically revises all beliefs jointly based on the shared search history, so that even failed executions can refine, retarget, or replace hypotheses across the search. The resulting belief-guided recursive loop operates within a single discovery run and is grounded in realized progress rather than the agent's self-assessment. Experiments on 19 tasks from MLGym and MLE-bench show that MESH attains the best score on 17 of them, when compared with linear, tree-structured, and graph-structured search controllers under the same worker models and execution budgets.


Dual-Band Attention: Efficient LLM Inference With Lightweight Block Sparsity Estimation

arXiv.org Artificial Intelligence

As large language models (LLMs) scale to longer context windows, the quadratic complexity of self-attention creates a severe latency bottleneck during the inference prefill phase. Existing sparse attention methods often struggle to balance computational efficiency with inference accuracy. To address this, we propose Dual-Band Attention (DBA), a training-free, dynamic sparse attention mechanism. DBA employs a lightweight estimator utilizing dual-band sampling and tensor folding to efficiently identify high-importance attention blocks. Furthermore, it introduces a Compact Block Mask (CBM) that reduces block mask storage and guides a hardware-aligned block sparse kernel to skip computation and memory accesses for unselected blocks. Evaluations using Llama-3.1-8B-Instruct demonstrate that DBA achieves a 2.07x whole-model prefill speedup over FlashAttention 2 on an NVIDIA A100 GPU and a 1.82x speedup over FlashAttention 3 on an NVIDIA H20 GPU, both at a context length of 128K tokens. Compared with dense attention, DBA scores 0.5 points lower on RULER on average across six input lengths and 0.23 points higher on LongBench. Additionally, in HunyuanVideo experiments, DBA achieves frame-level similarity scores comparable to those of XAttention, using dense attention outputs as the reference. Overall, DBA provides a practical solution for accelerating long-context LLM prefill.


Generative Curation Yields Bigger and Better Data for Pretraining LLMs

arXiv.org Artificial Intelligence

Modern large language models (LLMs) are pretrained largely on data curated from the internet. Because of the web's vast scale, pretraining relies on inexpensive curation: heuristic rules and classifiers to extract text from HTML and filter documents. We introduce Generative Curation with LLMs (GC-LLM), which replaces both stages with an LLM and a natural language specification of useful training data. The LLM follows the spec to transform raw HTML into training text or discard unsuitable documents. On a fixed pool of Common Crawl data, GC-LLM yields 13.5 times as many training tokens as DCLM and 1.3 times as many as Nemotron-CC. Across models with 157M, 1B, and 2.9B parameters and two LM evaluation suites, models pretrained on these tokens achieve lower bits per byte (bpb) than both baselines by up to 12.9%. To make this approach practical at web scale, we distill GC-LLM into a fast cascade comprising FastText, a 26M-param transformer, and a 68M-param BERT model, which we call Generative Curation with Cascade (GC-Cascade). GC-Cascade agrees with the LLM curator on 94.6% of filtering decisions and further reduces best observed bpb by 5.3-9.1% on 1B and 2.9B models. We use this cascade to construct Atlantic-CC, a 17.1T-token dataset, and release code and models to reproduce our data.


Tabular Selective Attention

arXiv.org Artificial Intelligence

Tabular foundation models (TFMs) predict each test row by attending over a context of labelled training rows, so a prediction is only as good as the set of rows attention averages over. While these models perform well in low-data regimes, current state-of-the-art models employ context curation to generalize over larger datasets. Existing curation methods either sharpen attention with a temperature or shrink the context with nearest-neighbour retrieval. We prove that temperature scaling faces an inherent trade-off: a single scalar must balance suppressing the uninformative tail against preserving the attention mass over the entire informative set. Retrieval avoids this trade-off by explicitly selecting which samples enter the context in the first place. Yet in doing so, it uses row similarity as a proxy for the attention that the model would assign to each row. We address the limitations of both curation types with a new model-agnostic mechanism: Tabular Selective Attention (TSA). TSA learns a non-negative score for each test/training-row pair that reshapes the attention distribution into one that favours all informative samples rather than just a subset. Across different architectures, such as TabICLv2 and TabDPT, TSA outperforms existing curation methods on the TabArena benchmark. Leveraging these TSA scores to prune uninformative rows from context, we can speed up its inference while largely preserving accuracy. Code can be found at https://github.com/daniallegue/TSA.


Towards Test-Time Adaptation for Emergent Language under Complexity Shifts

arXiv.org Artificial Intelligence

Emergent communication research has achieved high coordination in referential games, inducing discrete protocols that resemble language-like symbol systems. Despite extensive work across diverse emergent-language settings, a key gap remains: what happens when test instances demand finer distinctions or far more confusable distractors than in training? In emergent-language setups, however, the sender policy is fixed after training, leaving it unable to produce a more informative message when test instances become more complex, despite the expectation we place on the flexibility and adaptability of language. To address this deployment-time mismatch, we introduce a sender-side test-time adaptation framework that optimizes message generation using only the sender's internal self-play objective. While this concept represents a general framework, we specifically instantiate and evaluate it using a Vector-Quantized Emergent Language (VQ-EL) architecture, enabling variable-length descriptions using inference-time optimization without extra interaction rounds. Our experiments demonstrate that, across more complex inputs and more challenging candidate sets, our method consistently improves communication accuracy and, when needed, benefits from more descriptive messages. Our findings position test-time adaptation as a practical mechanism for making emergent languages robust to increased deployment-time complexity, offering a novel approach to adapting agents for real-world referential settings where the required message specificity is unpredictable. Code is available at: https://github.com/MehdiJmlkh/Test-Time-Emergent-Language.


Representation-Augmented Diffusions

arXiv.org Artificial Intelligence

Diffusion models achieve state-of-the-art sample quality but lack an inherent mechanism to learn explicit semantic representations of the data. We propose Representation-Augmented Diffusions (RAD), a new class of diffusion models that augments the denoising process with semantic representations as latent variables. We derive a variational lower bound for this model that recovers existing representation alignment methods as special cases and motivates a practical training objective. Our framework reveals a simple design choice that existing representation alignment methods leave unused: feeding the aligned representation back into the denoiser. This idea leads to order-of-magnitude reductions in the training iterations and sampling steps needed to reach a given sample quality, along with improved data efficiency, over standard diffusion. For instance, on class-conditional ImageNet 256x256 without classifier-free guidance, RAD matches the FID of SiT (trained for 7M iterations) with 70x fewer training iterations while preserving discriminative properties, demonstrating that strong representations can be learned without compromising sample quality. Across model scales, RAD outperforms or performs comparably to state-of-the-art representation alignment methods. RAD is also particularly effective with few sampling steps, and transfers to text-conditioned image generation. Overall, RAD is a strong alternative for efficient diffusion model training. Our code and models are available at https://github.com/mandt-lab/RAD


Prefix-LM: Prefix-Invariant Transformers for Width-Adaptive Progressive Inference

arXiv.org Artificial Intelligence

LLMs require a significant amount of resources during autoregressive generation, but not all tokens are equal. Token prediction is a task of varying difficulty, but monolithic architectures allocate the same compute regardless of the difficulty of prediction. Progressive inference, where representations are incrementally computed and refined as needed, can address this challenge. This has traditionally been achieved through early-exiting methods that operate along the depth dimension of the network. Elastic networks that operate along the width dimension can select a different computational budget per input, but the resulting outputs cannot be progressively refined. We identify the missing property as prefix invariance: the intermediate representations of smaller submodels are prefixes of larger ones. To this end, we propose Prefix-LM: an architectural design that achieves prefix invariance by enforcing block-triangular maps, enabling KV cache sharing and full reuse of intermediate computations. We apply Prefix-LM at the 1B scale, demonstrating practical speedups and establishing prefix invariance as a useful foundation for adaptive computation.


FreeAct: Demonstration-Free Robot Adaptation via Action-Grounded Generated Videos

arXiv.org Artificial Intelligence

Adapting pretrained Vision-Language-Action (VLA) policies to new deployment environments typically requires collecting expert demonstrations in each target domain, which is costly and difficult to scale. In this paper, we present FreeAct, a framework for demonstration-free robot adaptation that converts generated videos into physically grounded supervision. A key challenge is that generated manipulation videos, while visually plausible, often contain embodiment artifacts and kinematic inconsistencies that make direct inverse-dynamics labeling unreliable. FreeAct addresses this challenge by learning a discrete latent action space from large-scale multi-lab robot videos and aligning it with camera-frame end-effector SE(3) motion and gripper-state changes. The resulting latent action tokenizer captures task-relevant motion while reducing reliance on embodiment-specific visual artifacts, enabling generated target-domain videos to be pseudo-labeled with reliable latent action tokens. These tokens are first injected into VLA pretraining and then used, together with source-domain action supervision, to adapt the policy to unseen environments. Empirically, FreeAct improves success from 2% to 57% under target-domain shift using generated videos alone, and further to 74% through self-evolution guided by a multimodal large language model (MLLM) on the policy's own rollouts, without expert demonstrations. Further analysis shows that the learned latent action space forms a kinematically structured and transferable representation, establishing generated videos as a scalable source of supervision for robot manipulation. Code and data are available at https://freeact.pages.dev